package com.sz.biz.logistics.base.service;

import com.sz.biz.logistics.base.entity.ShippingLineDetail;
import com.sz.biz.logistics.base.dto.ShippingLineDetailDto;

import java.util.List;

/**
 * Function: ShippingLineDetailService <br>
 * Author: wentao.chang <br>
 * Date: 2017-08-21 15:47:00
 */
public interface ShippingLineDetailService {

    void save(List<ShippingLineDetailDto> shippingLineDetailDto);

    /**
     * 根据shippingLineId删除明细
     *
     * @param shippingLineId shippingLineId
     */
    void deleteByShippingLineId(Integer shippingLineId);

    /**
     * 根据id查询航班信息
     *
     * @param shippingLineId shippingLineId
     * @return ShippingLineDto
     */
    List<ShippingLineDetail> findByShippingLineId(Integer shippingLineId);


}
